import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
import java.net.*;
import java.applet.*;
import java.awt.image.*;
import java.io.*;
import javax.imageio.*;

public class GameSideBar extends JPanel{
	
	private BufferedImage base;
	private Player playa;
	
    public GameSideBar(Player playa) {
    	this.playa = playa;
    	try{
    		base = ImageIO.read(new File("Assets\\misc\\sidebar.png"));
    	}catch(Exception e){}
    	
    	
    }
    public void paint(Graphics g){
    	g.drawImage(base,600,0,400,700,this);
    }
    
}